package org.kamionowski.supreme.persistence.dao;

import org.kamionowski.supreme.persistence.entity.File;
import org.kamionowski.supreme.persistence.entity.Service;

/**
 * Created by IntelliJ IDEA.
 * User: Marcin Kamionowski
 * Date: 13.04.11
 * Time: 16:14
 */
public interface FileDAO {
    int deleteMarkedFiles(Service service);
    int markFilesForService(Service service);
    File searchByServiceAndPath(Service service, String path);
    void insertFile(File file);
    void updateFile(File file);
}
